package com.lse_api.entity;

import com.baomidou.mybatisplus.annotation.TableId;

import java.util.Date;
import java.io.Serializable;

/**
 * <p>
 * 用户
 * </p>
 *
 * @author 祁雪
 * @since 2020-05-15
 */
public class Users implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "uid")
    private String uid;

    /**
     * 账号
     */
    private String account;

    /**
     * 密码
     */
    private String pass;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 账号是否封禁
     */
    private Integer isSeal;

    /**
     * 封禁开始日期
     */
    private Date sealStartTime;

    /**
     * 封禁结束日期
     */
    private Date sealEndTime;

    /**
     * 注册日期
     */
    private Date regTime;

    /**
     * 注册地址 0.LSE 1.LSE IM 2.LSE API
     */
    private Integer regAddress;


    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getIsSeal() {
        return isSeal;
    }

    public void setIsSeal(Integer isSeal) {
        this.isSeal = isSeal;
    }

    public Date getSealStartTime() {
        return sealStartTime;
    }

    public void setSealStartTime(Date sealStartTime) {
        this.sealStartTime = sealStartTime;
    }

    public Date getSealEndTime() {
        return sealEndTime;
    }

    public void setSealEndTime(Date sealEndTime) {
        this.sealEndTime = sealEndTime;
    }

    public Date getRegTime() {
        return regTime;
    }

    public void setRegTime(Date regTime) {
        this.regTime = regTime;
    }

    public Integer getRegAddress() {
        return regAddress;
    }

    public void setRegAddress(Integer regAddress) {
        this.regAddress = regAddress;
    }

    @Override
    public String toString() {
        return "Users{" +
                "uid=" + uid +
                ", account=" + account +
                ", pass=" + pass +
                ", email=" + email +
                ", isSeal=" + isSeal +
                ", sealStartTime=" + sealStartTime +
                ", sealEndTime=" + sealEndTime +
                ", regTime=" + regTime +
                ", regAddress=" + regAddress +
                "}";
    }
}
